package com.miyake.dsp.osa.lab.wrapper;

import com.miyake.dsp.osa.lab.Calculator;
import com.miyake.dsp.osa.lab.ChartSetting;
import com.miyake.dsp.osa.lab.LabUiAnnotation;

@LabUiAnnotation(caption="Chart")
public class ChartWrapper extends Calculator {
	public static final String INPUT1_X = "In #1 x";
	public static final String INPUT1_Y = "In #1 y";
	public static final String INPUT2_X = "In #2 x";
	public static final String INPUT2_Y = "In #2 y";
	public static final String INPUT3_X = "In #3 x";
	public static final String INPUT3_Y = "In #3 y";
	public static final String INPUT4_X = "In #4 x";
	public static final String INPUT4_Y = "In #4 y";
	public static final String MARKER_X = "X-Marker";
	public static final String MARKER_Y = "Y-Marker";
	public static final String OUTPUT1_X = "Out #1 x";
	public static final String OUTPUT1_Y = "Out #1 y";
	public static final String OUTPUT2_X = "Out #2 x";
	public static final String OUTPUT2_Y = "Out #2 y";
	private ChartSetting setting;
	
	public ChartWrapper(ChartSetting setting) {
		this.setting = setting;
		initInput(INPUT1_X);
		initInput(INPUT1_Y);
		initInput(INPUT2_X);
		initInput(INPUT2_Y);
		initInput(INPUT3_X);
		initInput(INPUT3_Y);
		initInput(INPUT4_X);
		initInput(INPUT4_Y);
		initInput(MARKER_X);
		initInput(MARKER_Y);
		initOutput(OUTPUT1_X);
		initOutput(OUTPUT1_Y);
		initOutput(OUTPUT2_X);
		initOutput(OUTPUT2_Y);
	}
	@Override
	public synchronized void process() {
	}

	@Override
	public Object getSetting() {
		return setting;
	}

}
